package com.team5101.mapper;

import com.team5101.base.IBaseDao;
import com.team5101.dto.AllOrderDto;
import com.team5101.dto.OrderDetailDto;
import com.team5101.entity.TOrder;
import com.team5101.vo.AllOrderVo;

import java.util.List;

public interface TOrderMapper extends IBaseDao<TOrder> {
    int deleteByPrimaryKey(Long oId);

    int insert(TOrder record);

    int insertSelective(TOrder record);

    TOrder selectByPrimaryKey(Long oId);

    int updateByPrimaryKeySelective(TOrder record);

    int updateByPrimaryKey(TOrder record);

    List<AllOrderDto> getAllOrder(Integer uId);

    List<OrderDetailDto> queryOrderDetail(Integer oId);

    Long getoId(String orderNumber);
}